<?php 
require_once('./admin/View/video/inc_admin.php');
 ?>
				<div id="content">
					<div class="inner" style="min-height:1200px;">
						<div class="row">
							<div class="col-lg-12">
										<?php 


$id=$_GET['id'];

$sql="select * from videotype where tid={$id}";

$result=mysql_query($sql) or die('查询失败！'.mysql_error());
$row=mysql_fetch_assoc($result);
$typename=$row['typename'];

//将查询结果显示在表单中 
?>
					<div class="container-fluid col-sm-offset-1 col-md-10">
					<form method="POST" action="index.php?c=type&m=update" enctype="multipart/form-data">
						<table align="center" border="1" width=500 class="table table-bordered">
							<caption>
								<h2 align="center"> <font color="green">修改视频信息</font>
								</h2>
							</caption>
						
									<input type="hidden" name="id" value=<?php echo $id?>>
							

							<tr class="danger">
								<td width="20%">视频类型名称</td>
								<td width="80%">
									<input type="text" name="typename"  value=<?php echo $typename;?>>

								</td>
							</tr>
							<tr class="danger">
								<td width=150></td>
								<td>
									<input type="submit" value="修改" class="btn btn-info">
									<input type="reset" value="重置" class="btn btn-info"></td>
							</tr>
						</table>
                        </form>
					</div>
		</div>
			</div>

		</div>

	</div>
			

				<!--END MAIN WRAPPER -->

				<!-- FOOTER -->
				<div id="footer">
					<p>&copy;  binarytheme &nbsp;2014 &nbsp;</p>
				</div>
				<!--END FOOTER -->
				<!-- GLOBAL SCRIPTS -->
				<script src="assets/plugins/jquery-2.0.3.min.js"></script>
				<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
				<script src="assets/plugins/modernizr-2.6.2-respond-1.1.0.min.js"></script>
				<!-- END GLOBAL SCRIPTS -->

		

</body>
	</html>